package cn.ronghuanet.gift.client;

import cn.ronghuanet.gift.domain.LoginUser;
import cn.ronghuanet.gift.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "GIFT-AUTH",fallbackFactory =LoginUserClientFallbackFactory.class)
public interface LoginUserClient {
    @PutMapping("/loginUser")
     AjaxResult addOrUpdate(@RequestBody LoginUser loginUser);
}
